﻿using Business.BookManagement.Dto;
using Business.SaleManagement.Dto;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Application.Dtos;
using Volo.Abp.Application.Services;

namespace Business.SaleManagement
{
    public interface ISaleAppService : IApplicationService
    {
        Task<SaleDto> Get(Guid id);
        Task<PagedResultDto<SaleDto>> GetAll(GetSaleInputDto input);
        Task<SaleDto> CreateOrUpdate(CreateOrUpdateSaleDto input);
        Task<CreateOrUpdateSaleDto> GetSaleAll(string id);
        Task Delete(List<Guid> ids);
        Task<PagedResultDto<SaleAllInfo>> GetAllinfo(GetSaleInputDto input);
    }
}
